package com.uniview.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.uniview.base.BaseDao;
import com.uniview.entity.po.OrderCCRelation;

@Repository
public class OrderCCRelationDao extends BaseDao<OrderCCRelation> {

	public List<OrderCCRelation> findOrderCCRelationByOrderId(Integer orderId) throws Exception{
		String hql = "from OrderCCRelation c where c.orderId='" + orderId + "'";
		return this.findByHql(hql);
	}

}
